package a.f.d.a;

import a.c.e;
import a.c.v;
import a.c.z;
import a.f.o;

public class s
  implements yb
{
  private static final byte a = 0;
  private static final byte b = 1;
  private static final byte c = 3;
  private static final byte d = 2;
  private static final byte f = 8;
  private static final byte g = 16;
  private static final byte h = 32;
  private static final byte i = 64;
  private static final byte j = 3;
  private static final byte k = 120;
  public static final byte l = 0;
  public static final byte m = 1;
  public static final byte n = 18;
  public static final byte o = 34;
  public static final byte p = 66;
  public static final byte q = 19;
  public static final byte r = 35;
  public static final byte s = 67;
  private byte t;
  public static int u;
  
  public s()
  {
    this((byte)18);
  }
  
  public s(byte paramByte)
  {
    this.t = paramByte;
  }
  
  public byte a()
  {
    return this.t;
  }
  
  public void a(byte paramByte)
  {
    this.t = paramByte;
  }
  
  public void a(o paramo, bc parambc, ac paramac1, ac paramac2)
  {
    boolean bool3 = d.R;
    boolean bool2 = d.Q;
    int i1 = a();
    if (!bool3) {}
    boolean bool1 = (i1 & 0x3) != 3;
    if (!bool3) {
      switch (a())
      {
      case 0: 
      default: 
        a(paramac1, paramac2, paramac2.a(), true);
        if (!bool3) {
          if (!bool2) {
            return;
          }
        }
      case 1: 
        a(paramac1, paramac2, -paramac1.a(), true);
        if (!bool3) {
          if (!bool2) {
            return;
          }
        }
      case 18: 
      case 19: 
        a(paramac1, paramac2, 0, bool1);
        if (!bool3) {
          if (!bool2) {
            return;
          }
        }
      case 34: 
      case 35: 
        if (!bool3)
        {
          a(paramac1, paramac2, paramac2.a() - paramac1.a(), bool1);
          if (!bool2) {
            return;
          }
        }
        break;
      }
    }
    a(paramac1, paramac2, (paramac2.a() - paramac1.a()) / 2, bool1);
  }
  
  private void a(ac paramac1, ac paramac2, int paramInt, boolean paramBoolean)
  {
    boolean bool2 = d.R;
    boolean bool1 = d.Q;
    int i1 = 0;
    do
    {
      do
      {
        if (paramInt >= 0) {
          break;
        }
        paramac2.a(paramac1.a(i1).d(), 0);
        i1++;
        paramInt++;
      } while (!bool1);
    } while (bool2);
    int i2 = 0;
    label130:
    label310:
    label312:
    do
    {
      if (i2 >= paramac1.a()) {
        break;
      }
      vb localvb1 = paramac1.a(i2);
      int i3 = i2 + paramInt;
      vb localvb2;
      do
      {
        do
        {
          if (paramac2.a() > i3) {
            break label130;
          }
          paramac2.a(localvb1.d(), paramac2.a());
          if ((!bool2) && (bool1)) {
            break;
          }
        } while (!bool1);
        localvb2 = paramac2.a(i3);
      } while (bool2);
      if (paramBoolean) {}
      Object localObject1;
      do
      {
        localObject1 = localvb1.c().f();
        do
        {
          if (localObject1 == null) {
            break;
          }
          localObject2 = (e)((v)localObject1).c();
          localvb2.a((e)localObject2);
          localObject1 = ((v)localObject1).a();
          if (bool2) {
            break label312;
          }
          if (bool1) {
            break label310;
          }
        } while (!bool1);
        localObject1 = localvb2.c();
      } while (bool2);
      Object localObject2 = localvb1.c().g();
      do
      {
        if (localObject2 == null) {
          break;
        }
        e locale = (e)((v)localObject2).c();
        localvb2.a(locale);
        v localv = ((z)localObject1).g();
        ((z)localObject1).h(localv);
        ((z)localObject1).b(localv);
        localObject2 = ((v)localObject2).b();
        if (bool2) {
          break label312;
        }
        if (bool1) {
          break label310;
        }
      } while (!bool1);
      if (!bool2) {
        i2++;
      }
    } while (!bool1);
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.f.d.a.s

 * JD-Core Version:    0.7.0.1

 */